package com.ym.medical.service.impl;

import com.ym.core.utils.tkmybatis.BaseSVImpl;
import com.ym.medical.dao.UserDoctorViewDao;
import com.ym.medical.domain.entity.UserDoctorViewEntity;
import com.ym.medical.domain.param.UserDoctorViewQueryParam;
import com.ym.medical.domain.vo.UserDoctorViewListPcVO;
import com.ym.medical.service.IUserDoctorViewSV;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 医生视图Service业务层处理
 *
 * @author ym
 * @date 2020-08-18
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class UserDoctorViewSVImpl extends BaseSVImpl<UserDoctorViewEntity, UserDoctorViewDao> implements IUserDoctorViewSV {

	/**
	 * 查询医生视图列表
	 *
	 * @param queryParam 医生视图 查询参数
	 * @return 医生视图
	 */
	@Override
	public List<UserDoctorViewListPcVO> selectListPC(UserDoctorViewQueryParam queryParam) {
		List<UserDoctorViewListPcVO> userDoctorViews = mapper.selectListPC(queryParam);
		return userDoctorViews;
	}
	
}
